package org.example.rabbitmq.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "example.latency")
public class LatencyProperties {
    private String exchangeName = "latency-exchange";
    private String queueName = "latency-queue";
//    private String activationExchangeName = "latency-activation-exchange";
    private long latency = 300000; // 5 minutes

    public String getExchangeName() {
        return exchangeName;
    }

    public void setExchangeName(String exchangeName) {
        this.exchangeName = exchangeName;
    }

    public String getQueueName() {
        return queueName;
    }

    public void setQueueName(String queueName) {
        this.queueName = queueName;
    }

    public long getLatency() {
        return latency;
    }

    public void setLatency(long latency) {
        this.latency = latency;
    }

//    public String getActivationExchangeName() {
//        return activationExchangeName;
//    }
//
//    public void setActivationExchangeName(String activationExchangeName) {
//        this.activationExchangeName = activationExchangeName;
//    }
}
